home *** CD-ROM | disk | FTP | other *** search
- : Statusanzeige
- cd => workdir
- date => datum
- time => zeit
- version => xx
- rem $xx[5,]
- rem
- rem Current Time : $zeit Current Date : $datum
- rem Lines on Screen : $LINES Home Directory : $HOME
- history => xx
- rem $xx Working Directory : $workdir
- alldrives => xx
- rem Fast Disk Access : $FAST All Drives : $xx
- if SORT = "" {
- Sort name
- }
- show -m => xx
- rem Sorting of Files : $SORT Free Memory : $xx[6]
- rem Searching Path : $PATH
-
- set xx DOSTRACE
- if exec "set? -g DOSTRACE" {
- set xx NO$xx
- }
-
- set xx QUIET $xx
- if exec "set? -g QUIET" {
- set xx NO$xx;
- }
-
- set xx ECHO $xx
- if exec "set? -g ECHO" {
- set xx NO$xx;
- }
-
- set xx TALK $xx
- if exec "set? -g TALK" {
- set xx NO$xx;
- }
-
- rem Command Tracing : $xx
- rem
- if exec "set? -g WRAP" {
- rem No wrapping of long lines !;
- }
- if exec "set? -g MAGIC" {
- rem No regular expressions allowed with MORE !;
- }
- if not exec "set? -g NOREC" {
- rem No recursive mapping of environment vars !;
- }
- if exec "set? -g HOLD" {
- rem No screen hold after $LINES lines !;
- }
-
- ifglobal UNIX {
- rem Unix-mode $UNIX :
- switch UNIX
- case = "0" {
- rem - no Unix-mode !
- }
- case = "" {
- rem - Unix-environment !
- endcase
- }
- case > "1" {
- rem - Unix-environment !
- }
- case in "26" {
- rem - only '/' as directory delimiter, '*' for all files !
- }
- case in "46" {
- rem - no '/'-conversion in xArgs !
- }
- endswitch
- }
-
- ifglobal VIRGIN {
- rem Virgin-mode $VIRGIN :
- set tmp $VIRGIN ;
- switch tmp
- case in " 4 5 6 7 12 13 14 15 20 21 22 23 28 29 30 31 " {
- rem - keyboard redefining allowed !
- }
- case in " 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 " {
- rem - no GEMDOS/BIOS-extensions !
- endcase
- }
- case in " 2 3 6 7 10 11 14 15 18 19 22 23 26 27 30 31 " {
- rem - no drive-locking possible !
- }
- case in " 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 " {
- rem - no unix-wildcards in programs !
- }
- case in " 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 " {
- rem - no Master-I/O-redirection !
- }
- endswitch
- }
-
- ifglobal XARGS {
- rem Xargs-mode $XARGS :
- switch XARGS
- case = "" {
- rem - PBP/ARGV-passing !
- endcase
- }
- case in "123567" {
- rem - ARGV passing !
- }
- case = "2" {
- rem - i/o-vector passing !
- }
- case in "2367" {
- rem - handle 2 is console !
- }
- case > "4" {
- rem - xArg-struct passing !
- }
- case in "1357" {
- rem - basepage decimal in PBP !
- } else {
- rem - basepage hexadecimal in $ !
- }
- endswitch
- }
-
- cdr -g0 PRINTER =>xx
- if xx = 'AUX' {
- rem Printer output redirected to serial port !;
- }
-
- ifglobal SIGN_ON {
- rem Sign on after changing directory !;
- }
-